nyis.RdNew York Independent System Operator Hourly Demand by Sub-Region
nyisA data frame with 3 variables.
Time in YYYY-MM-DD HH:MM:SS format (POSIXct class).
The sub region code
The sub region full name
The sub region hourly demand in megawatthours
EIA API, form EIA-930 Product: Hourly Electric Grid Monitor website.
The dataset contains 11 regular time series, representing the hourly demand for electricity in the New York Independent System Operator by sub-region. Units: Megawatthours
Time zone: UTC
library(plotly)
#> Loading required package: ggplot2
#>
#> Attaching package: ‘plotly’
#> The following object is masked from ‘package:ggplot2’:
#>
#> last_plot
#> The following object is masked from ‘package:stats’:
#>
#> filter
#> The following object is masked from ‘package:graphics’:
#>
#> layout
data("nyis")
head(nyis)
#> time subregion subregion_name value
#> 1 2018-06-19 05:00:00 ZOND North 443
#> 2 2018-06-19 06:00:00 ZOND North 443
#> 3 2018-06-19 07:00:00 ZOND North 455
#> 4 2018-06-19 08:00:00 ZOND North 452
#> 5 2018-06-19 09:00:00 ZOND North 455
#> 6 2018-06-19 10:00:00 ZOND North 434
unique(nyis$subregion)
#> [1] "ZOND" "ZONJ" "ZONE" "ZONB" "ZONF" "ZONC" "ZONA" "ZONH" "ZONG" "ZONI"
#> [11] "ZONK"
plot_ly(data = nyis,
x = ~ time,
y = ~ value,
color = ~ subregion_name,
type = "scatter",
mode = "line") |>
layout(title = "New York Independent System Operator Hourly Demand by Sub-Region",
yaxis = list(title = "Megawatthours"),
xaxis = list(title = ""))